package com.xizi.al;

import java.util.ArrayDeque;
import java.util.Deque;
import java.util.LinkedList;
import java.util.Queue;

public class test {
    public static void main(String[] args) {

        Queue<Object> list = new LinkedList<>();
        Deque<Integer> d = new ArrayDeque<>();
        SkipList skipList = new SkipList();
        skipList.insert(2);
        skipList.insert(4);
        skipList.insert(5);
        skipList.insert(6);
        SkipList.Node node = skipList.find(2);
        skipList.delete(2);
        System.out.println(node);
        skipList.display();
    }
}
